
# File: ally_mage_shield.gd
# 法师技能 - 魔力护盾
# 用法力抵消伤害
extends TechnologyResource
class_name AllyMageShield

var mana_shield_ratio = 0.3  # 法力抵消比例

func _init() -> void:
	super()
	display_name = "Mana Shield"
	description = "30% of damage absorbed by mana"
	GlobalSignal.gs_ally_take_damage.connect(_on_damage)

# 处理伤害事件
func _on_damage(attaker: EnemyBaseUnit, target: AllyBaseUnit, skill: Skill, damage: Damage):
	pass
